###########################################
# basesensors openrave plugin
###########################################


add_library(nxtsensors SHARED legonxtsensors.cpp touchsensor.h ultrasonicsensor.h plugindefs.h)
target_link_libraries(nxtsensors libopenrave)
set_target_properties(nxtsensors PROPERTIES COMPILE_FLAGS "${PLUGIN_COMPILE_FLAGS}" LINK_FLAGS "${PLUGIN_LINK_FLAGS}")
install(TARGETS nxtsensors DESTINATION ${OPENRAVE_PLUGINS_INSTALL_DIR} COMPONENT ${PLUGINS_BASE})
